/* 搜索页面样式 */
.search-card {
    position: sticky;
    top: 20px;
}

.results-card {
    height: calc(100vh - 140px);
    display: flex;
    flex-direction: column;
}

.results-list {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
}

.result-item {
    background: #fff;
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.result-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.result-preview {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
}

.preview-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
}

.text-preview {
    font-size: 2rem;
    color: #6c757d;
}

.upload-zone {
    border: 2px dashed #dee2e6;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
}

.upload-zone:hover {
    border-color: #6c757d;
}

.upload-preview {
    max-width: 200px;
    max-height: 200px;
    margin-top: 1rem;
    border-radius: 4px;
    display: none;
}

.similarity-score {
    color: #6c757d;
    font-size: 0.875rem;
}

.no-results {
    text-align: center;
    padding: 2rem;
    color: #6c757d;
} 